package com.springdoor.wx.api.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 微信小程序客户信息对象 wx_user
 *
 * @author llshs
 * @date 2024-12-17
 */
public class ResultCli implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 用户名称 */
    private String nickName;

    /** 用户类型（00系统用户） */
    private String userType;

    /** 手机号码 */
    private String email;

    /** 手机号码 */
    private String phone;

    /** 用户性别（0男 1女 2未知） */
    private String gender;

    /** 头像地址 */
    private String avatarUrl;
    public void setUserType(String userType)
    {
        this.userType = userType;
    }

    public String getUserType()
    {
        return userType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("nickName", getNickName())
                .append("userType", getUserType())
                .append("gender", getGender())
                .append("avatarUrl", getAvatarUrl())
                .append("email", getEmail())
                .append("phone", getPhone())
                .toString();
    }
}
